package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Generator;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.entity.BaseEntity;

import java.math.BigDecimal;

@Table(name = "t_coupon_details")
public class CouponDetails extends BaseEntity {

    /**
     * id
     */
    private Integer id;

    /**
     * 最小金额
     */
    private BigDecimal minMoney;

    /**
     * 减少金额
     */
    private BigDecimal subMoney;

    /**
     * kid
     */
    private String kid;

    @Id
    @Generator
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public BigDecimal getMinMoney() {
        return minMoney;
    }

    public void setMinMoney(BigDecimal minMoney) {
        this.minMoney = minMoney;
    }

    public BigDecimal getSubMoney() {
        return subMoney;
    }

    public void setSubMoney(BigDecimal subMoney) {
        this.subMoney = subMoney;
    }

    public String getKid() {
        return kid;
    }

    public void setKid(String kid) {
        this.kid = kid;
    }
}
